Total Complexity | 71 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 440 |
Lines of code | 237 |
Logical lines of code | 117 |
Comment lines | 149 |
Methods | 12 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
render_block_template() | 49 | 18 | 30 | |
add_block_templates() | 44 | 15 | 41 | |
get_block_templates_from_woocommerce() | 47 | 9 | 36 | |
maybe_return_blocks_template() | 49 | 8 | 31 | |
get_single_block_template() | 56 | 6 | 17 | |
get_block_templates_from_db() | 52 | 3 | 26 | |
remove_theme_templates_with_custom_alternative() | 56 | 2 | 23 | |
__construct() | 67 | 3 | 7 | |
block_template_is_available() | 65 | 3 | 9 | |
get_templates_directory() | 72 | 2 | 6 | |
init() | 71 | 1 | 5 | |
get_block_templates() | 70 | 1 | 6 |